package com.welab.springcloud.demo.api.fallback;

import com.welab.springcloud.demo.api.GoodsApi;
import com.welab.springcloud.demo.api.OrderApi;
import com.welab.springcloud.demo.api.UserApi;
import com.welab.springcloud.demo.dto.Order;
import com.welab.springcloud.demo.dto.ResponseResult;
import com.welab.springcloud.demo.dto.User;
import org.springframework.stereotype.Component;

import java.util.List;

@Component
public class OrderApiFallback implements OrderApi {


    @Override
    public ResponseResult<List<Order>> getUserOrder(Integer userId) {
        return null;
    }

}
